﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using UI.WebPage.PageBase;
using BLL.AuthModel;
using Model.AuthModel;
using Com.Ompchina.Lib.Net;
namespace Com.Ompchina.Web.admin.main
{
    public partial class menu : AuthModelPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// 获取角色的权限
        /// </summary>
        /// <returns></returns>
        protected IList<StaffRolesInfo> _GetRolesRoleAuthByStaff()
        {
            int typeid = RequestParam.GetInt(Request, "id");
            return typeid > 0 ?
                new StaffRolesBLL().ListModuleByStaff(typeid, LoginStaff.StaffID, "y", "y") : new List<StaffRolesInfo>();
        }
    }
}
